var express = require("express");
var router = express.Router();

router.get("/hello", function (req, res) {
    res.send("pic");
})

router.get("/list", function (req, res) {
    res.json({name: "获取图片", code: 1});
})
router.get("/get", function (req, res) {
    res.json({name: "获取图片", code: 2});
})
router.get("/getPosById", function (req, res) {
    res.json({name: "获取图片pos信息", code: 3});
})
router.get("/getSecondById", function (req, res) {
    res.json({name: "获取图片pos信息", code: 4})
})

module.exports = router;